* {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    header {
        width: 100%;
        height: 60px;
        font-size: 20px;
        font-weight: bold;
        color: #777777;
        background-color: #f8f8f8;
        line-height: 60px;
        border-bottom: 1px solid #e7e7e7;
        p {
            padding-left: 20px;
        }
    }
    main {
        display: flex;
        flex-grow: 1;
        .left {
            width: 214px;
            background-color: #f8f8f8;
            border-right: 1px solid #e7e7e7;
            // max-height: 600px;
            // overflow-y: scroll;
            .nav {
                width: 100%;
                font-size: 16px;
                font-weight: bold;
                text-align: center;
                color: #007cb7;
                li {
                    // height: 42px;
                    line-height: 42px;
                    background-color: #eeeeee;
                    border-bottom: 1px solid #e7e7e7;
                    border-top: 1px solid #e7e7e7;
                }
                .sub-nav {
                    li {
                        background-color: #f8f8f8;
                        border: 0;
                        font-weight: normal;
                    }
                    .gray {
                        background-color: rgb(168, 165, 165);
                    }
                }
            }
        }
        table {
            width: 960px;
            border-collapse: collapse;
            margin: 30px auto;
            text-align: center;
            th {
                border: 1px solid #dddddd;
                height: 40px;
            }
            tbody {
                tr:nth-of-type(2n-1) {
                    background-color: #ddd;
                }
                td {
                    border: 1px solid #e7e7e7;
                    height: 40px;
                }
            }
        }
        .right {
            flex-grow: 1;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            .one-page {
                background-color: white;
                width: 1050px;
                margin-top: 20px;
                // background-color: turquoise;
                .title {
                    width: 100%;
                    font-size: 36px;
                    font-weight: bold;
                    border-bottom: 1px solid #e7e7e7;
                    p {
                        margin-bottom: 10px;
                    }
                }
                main {
                    margin: 30px auto;
                    width: 1000px;
                    // height: 300px;
                    border: 1px solid #e7e7e7;
                    border-radius: 5px;
                    flex-wrap: wrap;
                    // justify-content: center;
                    .sub-title {
                        width: 100%;
                        height: 40px;
                        background-color: #f5f5f5;
                        border-top-left-radius: 5px;
                        border-top-right-radius: 5px;
                        line-height: 40px;
                        border-bottom: 1px solid #e7e7e7;
                        p {
                            padding-left: 20px;
                        }
                    }
                    .choose {
                        margin: 40px 0 0 20px;
                        height: 33px;
                        border: 1px solid #e7e7e7;
                        border-radius: 5px;
                        select {
                            height: 33px;
                            border: 0;
                            border-radius: 5px;
                        }
                        input {
                            height: 33px;
                            border: 0;
                            border-left: 1px solid #e7e7e7;
                            border-top-right-radius: 5px;
                            border-bottom-right-radius: 5px;
                        }
                    }
                    p {
                        padding-left: 20px;
                        span {
                            padding-left: 460px;
                        }
                    }
                    .foot {
                        margin: 30px auto;
                        button {
                            width: 50px;
                            height: 25px;
                            background-color: white;
                            border: 1px solid #777777;
                            border-radius: 5px;
                        }
                    }
                }
                #sub-page {
                    width: 500px;
                    border: 1px solid #e7e7e7;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    margin-top: -200px;
                    margin-left: -100px;
                    background-color: white;
                    border-radius: 5px;
                    .sub-title {
                        background-color: #f5f5f5;
                        height: 50px;
                        font-size: 20px;
                        font-weight: bold;
                        text-align: center;
                        line-height: 50px;
                        border-top-left-radius: 5px;
                        border-top-right-radius: 5px;
                        border-bottom: 1px solid #e7e7e7;
                    }
                    p {
                        margin: 20px 0 0 50px;
                        select {
                            width: 170px;
                            height: 27px;
                        }
                        input {
                            height: 25px;
                        }
                    }
                    .sub-sex input {
                        height: 12px;
                    }
                    button {
                        margin: 20px 200px;
                        width: 100px;
                        height: 30px;
                        color: white;
                        background-color: #005e8d;
                        border: 0;
                        border-radius: 5px;
                    }
                }
                .index1 {
                    z-index: -2;
                }
                .index2 {
                    z-index: 2;
                }
            }
            .two-page {
                width: 1050px;
                margin-top: 20px;
                // background-color: turquoise;
                .title {
                    width: 100%;
                    font-size: 36px;
                    font-weight: bold;
                    border-bottom: 1px solid #e7e7e7;
                    p {
                        margin-bottom: 10px;
                    }
                }
                main {
                    margin: 30px auto;
                    width: 1000px;
                    // height: 300px;
                    border: 1px solid #e7e7e7;
                    border-radius: 5px;
                    flex-wrap: wrap;
                    // justify-content: center;
                    .sub-title {
                        width: 100%;
                        height: 40px;
                        background-color: #f5f5f5;
                        border-top-left-radius: 5px;
                        border-top-right-radius: 5px;
                        line-height: 40px;
                        border-bottom: 1px solid #e7e7e7;
                        p {
                            padding-left: 20px;
                        }
                    }
                }
                .text {
                    width: 450px;
                    // height: 400px;
                    // background-color: burlywood;
                    p {
                        margin-top: 30px;
                        padding-left: 70px;
                        input {
                            width: 200px;
                            height: 25px;
                        }
                        select {
                            width: 200px;
                            height: 25px;
                        }
                    }
                    .sex {
                        width: 200px;
                        input {
                            width: 20px;
                            height: 12px;
                        }
                    }
                    .ok {
                        margin: 50px 0 50px 200px;
                        width: 100px;
                        height: 30px;
                        color: white;
                        background-color: #005e8d;
                        border: 0;
                        border-radius: 5px;
                    }
                }
                .img {
                    margin: 30px 0 0 80px;
                }
            }
            .three-page {
                width: 1050px;
                margin-top: 20px;
                // background-color: turquoise;
                .title {
                    width: 100%;
                    font-size: 36px;
                    font-weight: bold;
                    border-bottom: 1px solid #e7e7e7;
                    p {
                        margin-bottom: 10px;
                    }
                }
                main {
                    margin: 30px auto;
                    width: 1000px;
                    // height: 300px;
                    border: 1px solid #e7e7e7;
                    border-radius: 5px;
                    flex-wrap: wrap;
                    // justify-content: center;
                    .sub-title {
                        width: 100%;
                        height: 40px;
                        background-color: #f5f5f5;
                        border-top-left-radius: 5px;
                        border-top-right-radius: 5px;
                        line-height: 40px;
                        border-bottom: 1px solid #e7e7e7;
                        p {
                            padding-left: 20px;
                        }
                    }
                    .three-select {
                        width: 100%;
                        span {
                            margin-left: 20px;
                        }
                        select {
                            margin-top: 30px;
                            width: 200px;
                            height: 25px;
                        }
                        input {
                            margin-top: 30px;
                            width: 197px;
                            height: 22px;
                        }
                    }
                    .ok {
                        margin: 50px 0 30px 110px;
                        width: 100px;
                        height: 30px;
                        color: white;
                        background-color: #005e8d;
                        border: 0;
                        border-radius: 5px;
                    }
                }
            }
            .four-page {
                width: 1050px;
                margin-top: 20px;
                // background-color: turquoise;
                .title {
                    width: 100%;
                    font-size: 36px;
                    font-weight: bold;
                    border-bottom: 1px solid #e7e7e7;
                    p {
                        margin-bottom: 10px;
                    }
                }
                main {
                    margin: 30px auto;
                    width: 1000px;
                    // height: 300px;
                    border: 1px solid #e7e7e7;
                    border-radius: 5px;
                    flex-wrap: wrap;
                    // justify-content: center;
                    .sub-title {
                        width: 100%;
                        height: 40px;
                        background-color: #f5f5f5;
                        border-top-left-radius: 5px;
                        border-top-right-radius: 5px;
                        line-height: 40px;
                        border-bottom: 1px solid #e7e7e7;
                        p {
                            padding-left: 20px;
                        }
                    }
                    .choose {
                        margin: 40px 0 0 20px;
                        height: 33px;
                        border: 1px solid #e7e7e7;
                        border-radius: 5px;
                        select {
                            height: 33px;
                            border: 0;
                            border-radius: 5px;
                        }
                        input {
                            height: 33px;
                            border: 0;
                            border-left: 1px solid #e7e7e7;
                            border-top-right-radius: 5px;
                            border-bottom-right-radius: 5px;
                        }
                    }
                    p {
                        padding-left: 20px;
                        span {
                            padding-left: 460px;
                        }
                    }
                    .foot {
                        margin: 30px auto;
                        button {
                            width: 50px;
                            height: 25px;
                            background-color: white;
                            border: 1px solid #777777;
                            border-radius: 5px;
                        }
                    }
                }
            }
            .nine-page {
                width: 1050px;
                margin-top: 20px;
                // background-color: turquoise;
                .title {
                    width: 100%;
                    font-size: 36px;
                    font-weight: bold;
                    border-bottom: 1px solid #e7e7e7;
                    p {
                        margin-bottom: 10px;
                    }
                }
                main {
                    margin: 30px auto;
                    width: 1000px;
                    // height: 300px;
                    border: 1px solid #e7e7e7;
                    border-radius: 5px;
                    flex-wrap: wrap;
                    // justify-content: center;
                    .sub-title {
                        width: 100%;
                        height: 40px;
                        background-color: #f5f5f5;
                        border-top-left-radius: 5px;
                        border-top-right-radius: 5px;
                        line-height: 40px;
                        border-bottom: 1px solid #e7e7e7;
                        p {
                            padding-left: 20px;
                        }
                    }
                    .major {
                        width: 100%;
                        p {
                            margin: 30px 0 30px 20px;
                            input {
                                height: 25px;
                            }
                        }
                    }
                    .ok {
                        margin: 0 0 30px 100px;
                        width: 100px;
                        height: 30px;
                        color: white;
                        background-color: #005e8d;
                        border: 0;
                        border-radius: 5px;
                    }
                }
            }
            .ten-page {
                width: 1050px;
                margin-top: 20px;
                // background-color: turquoise;
                .title {
                    width: 100%;
                    font-size: 36px;
                    font-weight: bold;
                    border-bottom: 1px solid #e7e7e7;
                    p {
                        margin-bottom: 10px;
                    }
                }
                main {
                    margin: 30px auto;
                    width: 1000px;
                    // height: 300px;
                    border: 1px solid #e7e7e7;
                    border-radius: 5px;
                    flex-wrap: wrap;
                    // justify-content: center;
                    .sub-title {
                        width: 100%;
                        height: 40px;
                        background-color: #f5f5f5;
                        border-top-left-radius: 5px;
                        border-top-right-radius: 5px;
                        line-height: 40px;
                        border-bottom: 1px solid #e7e7e7;
                        p {
                            padding-left: 20px;
                        }
                    }
                }
            }
        }
    }
}